{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-header">参数配置</div>
    <div class="layui-card-body" pad15>
        <form action="{:request()->url()}" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">Appid</label>
                <div class="layui-input-inline" style="width: 400px;">
                    <input type="text" name="appid" value="{$data.appid|default=''}" class="layui-input">
                </div>
                <div class="layui-input-inline layui-input-company"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">商户号</label>
                <div class="layui-input-inline" style="width: 400px;">
                    <input type="text" name="mch_id" value="{$data.mch_id|default=''}" class="layui-input">
                </div>
                <div class="layui-input-inline layui-input-company"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密匙</label>
                <div class="layui-input-inline" style="width: 400px;">
                    <input type="text" name="key" value="{$data.key|default=''}" class="layui-input">
                </div>
                <div class="layui-input-inline layui-input-company"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">回调路径</label>
                <div class="layui-input-inline" style="width: 400px;">
                    <input type="text" name="notify_url" value="{$data.notify_url|default=''}" class="layui-input">
                </div>
                <div class="layui-input-inline layui-input-company"></div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">cert.pem</label>
                <div class="layui-input-block">
                    <textarea name="certpem" class="layui-textarea">{$data.certpem|default=''}</textarea>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">key.pem</label>
                <div class="layui-input-block">
                    <textarea name="keypem" class="layui-textarea">{$data.keypem|default=''}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit  lay-filter="*">确认保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}